---
title: Configuration.onEnd()
api: Configuration.onEnd
---

## Description

<Summary/>

## Syntax

``` js
pipy()
  .pipeline()
  .onEnd(
    () => onPipelineDestroyed()
  )
  .filterA()
  .filterB()
  // ...
```

## Parameters

<Parameters/>

## See Also

* [Configuration](/reference/api/Configuration)
* [onStart()](/reference/api/Configuration/onStart)
